<template>
  <p>带边框: </p>
  <z-input v-model:value="value" show-count :maxlength="20" />
  <p>不带边框: </p>
  <z-input v-model:value="value" :bordered="false" placeholder="请输入"/>
</template>
<script>
import { defineComponent, ref } from 'vue'

export default defineComponent({
  name: 'InputDemo1',
  setup(){
    const value = ref('')
    return {
      value
    }
  }
})
</script>
